Views [dbo].[vPledgeBalances]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Created3:38:38 PM Friday, January 07, 2011
Last Modified1:49:13 PM Thursday, September 22, 2011
Columns
Name
BT_ID
BALANCE
Permissions
TypeActionOwning Principal
GrantDeleteIMIS
GrantInsertIMIS
GrantReferencesIMIS
GrantSelectIMIS
GrantUpdateIMIS
SQL Script
create  view vPledgeBalances as
    select i.BT_ID,
           SUM(i.BALANCE) as BALANCE
    from Invoice i
    where i.SOURCE_SYSTEM = 'FR' and i.BALANCE <> 0
group by i.BT_ID

GO
GRANT REFERENCES ON  [dbo].[vPledgeBalances] TO [IMIS]
GRANT SELECT ON  [dbo].[vPledgeBalances] TO [IMIS]
GRANT INSERT ON  [dbo].[vPledgeBalances] TO [IMIS]
GRANT DELETE ON  [dbo].[vPledgeBalances] TO [IMIS]
GRANT UPDATE ON  [dbo].[vPledgeBalances] TO [IMIS]
GO
Uses